package com.biz.primus.management.commodity.degraded;

import com.biz.primus.commodity.vo.CategoryQueryVo;
import com.biz.primus.commodity.vo.CommodityVo;
import com.biz.primus.commodity.vo.backend.CategoryListItemVo;
import com.biz.primus.commodity.vo.backend.UpdateCategoryVo;
import com.biz.primus.common.vo.SpringPageVO;
import com.biz.primus.management.commodity.feign.CommodityFeignClient;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 商品Feign Client服务降级
 *
 */
@Component
public class DegradedCommodityFeignClient implements CommodityFeignClient {

    @Override
    public SpringPageVO<CategoryListItemVo> findAll(CategoryQueryVo reqVo) {
        return null;
    }

    @Override
    public UpdateCategoryVo getCategoryById(Long categoryId) {
        return null;
    }

    @Override
    public void update(UpdateCategoryVo categoryVo) {

    }

    @Override
    public List<CommodityVo> findByCodesFromDb(List<String> Codes) {
        return null;
    }

}
